<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="Trainercity v1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
<meta name="Description" content="<?php echo $this->_var['description']; ?>" />
<title><?php echo $this->_var['page_title']; ?></title>
<link href="<?php echo $this->_var['ecs_css_path']; ?>" rel="stylesheet" type="text/css" />

<?php echo $this->smarty_insert_scripts(array('files'=>'common.js,user.js')); ?>
<script type="text/javascript">


  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-1848127-18']);
  _gaq.push(['_setDomainName', '.fitwow.com']);
  _gaq.push(['_trackPageview']);


  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();


</script></head>
<body>
<?php if ($this->_var['profile']['user_type'] == 1): ?>
 	    <?php echo $this->fetch('library/page_header.lbi'); ?>
        <div class="l_nav">
            <div class="l_nav_con">
                <ul>
                    <li><a href="user.php">My Dashboard</a></li>
                    <li><a href="projects.php?act=my_clients_proposals">My Offers</a></li>
                    <li><a href="user.php?act=profile" style="color: #FFFFFF; background-color: #CCCCCC" >Manage Account</a></li>
                </ul>
            </div>
       </div>
            <div class="l_con mannge_acc">
       		<div class="right_posta" style="margin-top:20px;"> 
            	<ul >
                	<li><a href="projects.php?act=browse">Browse training projects</a></li>
                </ul>
      		</div>  
            <div class="lcl_con2" >
			<form name="formPassword" action="user.php" method="post" onSubmit="return editPassword()" >
            	<div class="lcl_con2_left" >
                	<ul>
                   	  <li class="font03 lclaccount">Account management</li>
                        <li class="lcl_bim "><a href="user.php?act=profile" class="font90">Account info</a></li>
                      <li class="font03 lclaccount" >Profile management</li>
                        <li class="lcl_cin1 "><a href="user.php?act=aboutme" class="font91">About me</a></li>
                        <li class="lcl_sj"></li>
                        <li class="lcl_cin1 "><a href="user.php?act=photo" class="font91">Profile photos</a></li>
                        <li class="lcl_sj"></li>
                        <li class="lcl_cin2 font91" ><a href="user.php" class="font91">Profile completed,go&nbsp;&nbsp;<br />to my dashboard</a></li>
                    </ul>
                </div>
                
                <div class="lcl_con2_right">
                	<div class="lcl_c01">
                   	  <div class="clc_011 font05">Email address</div>
                      <div class="clc_012">
					  <input name="email" type="text" value="<?php echo $this->_var['profile']['email']; ?>" class="lcl_tet" readonly="readonly" />
					  </div>
                      <div class="clc_user font05" >Username*</div>
                      <div class="clc_012">
					  <input name="user_name" type="text" value="<?php echo $this->_var['profile']['user_name']; ?>" class="lcl_tet" />
					  </div>
                    </div>
                    <div class="lcl_c01">
                      <div class="clc_011 font05">Existing Password</div>
                      <div class="clc_012">
					  <input name="old_password" id="old_password" type="password" class="lcl_tet" />
					  </div>
                    </div>
                     <div class="lcl_c01">
                    	<div class="clc_011 font05">New Password</div>
                        <div class="clc_012"><input name="new_password" id="new_password" type="password"  class="lcl_tet" /></div>
                    </div>
                    <div class="lcl_c01">
                    	<div class="clc_011 font05">Re-enter pwd</div>
                        <div class="clc_012"><input name="confirm_password" id="confirm_password" type="password" class="lcl_tet" /></div>
                    </div>
                  <div class="lcl_c01 font121" style="height:35px; line-height:35px;">By clicking on "Save Changes" I agree to terms of service</div>
                  <p class="font03" style="margin-top:20px; height:30px; line-height:30px;">Notification</p>
                  <p class="font05 lcl_huibj"><input name="email_daily" id="email_daily" type="checkbox" /><span>&nbsp;&nbsp;Email me training opportunities daily</span></p>
				  <script>
				  if(<?php echo $this->_var['profile']['email_daily']; ?>== '1')
				  {
					  document.getElementById("email_daily").checked= true;
				  }
				  else
				  {
				  	  document.getElementById("email_daily").checked= false;
				  }
			  	  </script>
                    <div class="lcl_c01" style=" margin-top:20px; padding-right:50px;">
					<input name="act" type="hidden" value="act_edit_password" />
                    <input name="submit_type" type="submit" class="edita" value="Save Changes" style="float:right;"/>
					<input name="submit_type" type="button" class="edita" value="Cancel" onclick="clearForm()" style=" background:url(themes/default/images/402.gif) no-repeat scroll 0 0 transparent;float:right;" />
					</div>
                </div>
			   </form>
            </div>
       </div>
<div class="lcl_llin"></div>
       <?php echo $this->fetch('library/page_footer.lbi'); ?>	
<?php else: ?>
 	    <?php echo $this->fetch('library/page_header.lbi'); ?>
        <div class="l_nav">
            <div class="l_nav_con">
                <ul>
                    <li><a href="user.php">My dashboard</a></li>
                    <li><a href="projects.php?act=my_fitness_listings">My Fitness Listings</a></li>
                    <li style="color: #3399FF"><a href="user.php?act=profile" style="color: #FFFFFF; background-color: #CCCCCC" >Manage account</a></li>
                </ul>
            </div>
       </div>
       <div class="l_con">
       		<div class="right_posta" style="margin-top:20px;">
            	<ul >
					<li><a href="projects.php?act=add">Post your fitness needs</a></li>
                	<li><a href="projects.php?act=browse">Browse training projects</a></li>
                </ul>
      		</div>        
            <div class="lcl_con2">
            <form name="formPassword" action="user.php" method="post" onSubmit="return editPassword()" >
            	<div class="lcl_con2_left">
                	<ul>
                   	  <li class="font03 lclaccount">Account management</li>
                        <li class="lcl_bim "><a href="user.php?act=profile" class="font90">Account info</a></li>
                      <li class="font03 lclaccount" >Profile management</li>
                        <li class="lcl_cin1 "><a href="user.php?act=aboutme" class="font91">About me</a></li>
                        <li class="lcl_sj"></li>
                        <li class="lcl_cin1 "><a href="user.php?act=photo" class="font91">Profile photos</a></li>
                        <li class="lcl_sj"></li>
                        <li class="lcl_cin2 font91" ><a href="user.php" class="font91">Profile completed,go<br />to my dashboard</a></li>
                    </ul>
                </div>
                <div class="lcl_con2_right">
                	<div class="lcl_c01">
                   	  <div class="clc_011 font05">Email address*</div>
                      <div class="clc_012">
                      <input name="email" type="text" value="<?php echo $this->_var['profile']['email']; ?>" class="lcl_tet" readonly="readonly" />
                      </div>
                      <div class="clc_011 font05" >Username*</div>
                      <div class="clc_012"><input name="user_name" type="text" value="<?php echo $this->_var['profile']['user_name']; ?>" class="lcl_tet" /></div>
                    </div>
                    <div class="lcl_c01">
                    	<div class="clc_011 font05">Existing Password</div>
                        <div class="clc_012"><input name="old_password" id="old_password" type="password" class="lcl_tet" /></div>
                    </div>
                     <div class="lcl_c01">
                    	<div class="clc_011 font05">New Password</div>
                        <div class="clc_012"><input name="new_password" id="new_password" type="password"  class="lcl_tet" /></div>
                    </div>
                    <div class="lcl_c01">
                    	<div class="clc_011 font05">Re-enter pwd</div>
                        <div class="clc_012"><input name="confirm_password" id="confirm_password" type="password" class="lcl_tet" /></div>
                    </div>
                  <div class="lcl_c01 font121" style="height:35px; line-height:35px;">By clicking on "Save Changes" I agree to terms of service</div>
                    <div class="lcl_c01">
                    <input name="act" type="hidden" value="act_edit_password" />
					
                    <input name="submit_type" type="submit" class="edita" value="Save Changes" style="float:right;"/>
					
					<input name="submit_type" type="button" class="edita" value="Cancel" onclick="clearForm()" style=" background:url(themes/default/images/402.gif) no-repeat scroll 0 0 transparent;float:right;" />
					</div>
                </div>
              </form>
            </div>
       </div>
<div class="lcl_llin"></div>
<?php echo $this->fetch('library/page_footer.lbi'); ?>
<?php endif; ?>
</body>
<script type="text/javascript">
<?php $_from = $this->_var['lang']['clips_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>


</script>
</html>
